3.725 \(\int \frac{1}{x \sqrt{a+b x} \sqrt{c+d x}} \, dx\)

Optimal. Leaf size=42 \[ -\frac{2 \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{a+b x}}{\sqrt{a} \sqrt{c+d x}}\right )}{\sqrt{a} \sqrt{c}} \]

[Out]

(-2*ArcTanh[(Sqrt[c]*Sqrt[a + b*x])/(Sqrt[a]*Sqrt[c + d*x])])/(Sqrt[a]*Sqrt[c])

_______________________________________________________________________________________

Rubi [A]  time = 0.0684172, antiderivative size = 42, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ -\frac{2 \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{a+b x}}{\sqrt{a} \sqrt{c+d x}}\right )}{\sqrt{a} \sqrt{c}} \]

Antiderivative was successfully verified.

[In]  Int[1/(x*Sqrt[a + b*x]*Sqrt[c + d*x]),x]

[Out]

(-2*ArcTanh[(Sqrt[c]*Sqrt[a + b*x])/(Sqrt[a]*Sqrt[c + d*x])])/(Sqrt[a]*Sqrt[c])

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 6.13986, size = 41, normalized size = 0.98 \[ - \frac{2 \operatorname{atanh}{\left (\frac{\sqrt{c} \sqrt{a + b x}}{\sqrt{a} \sqrt{c + d x}} \right )}}{\sqrt{a} \sqrt{c}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(1/x/(b*x+a)**(1/2)/(d*x+c)**(1/2),x)

[Out]

-2*atanh(sqrt(c)*sqrt(a + b*x)/(sqrt(a)*sqrt(c + d*x)))/(sqrt(a)*sqrt(c))

_______________________________________________________________________________________

Mathematica [A]  time = 0.0634606, size = 60, normalized size = 1.43 \[ \frac{\log (x)-\log \left (2 \sqrt{a} \sqrt{c} \sqrt{a+b x} \sqrt{c+d x}+2 a c+a d x+b c x\right )}{\sqrt{a} \sqrt{c}} \]

Antiderivative was successfully verified.

[In]  Integrate[1/(x*Sqrt[a + b*x]*Sqrt[c + d*x]),x]

[Out]

(Log[x] - Log[2*a*c + b*c*x + a*d*x + 2*Sqrt[a]*Sqrt[c]*Sqrt[a + b*x]*Sqrt[c + d
*x]])/(Sqrt[a]*Sqrt[c])

_______________________________________________________________________________________

Maple [B]  time = 0.029, size = 73, normalized size = 1.7 \[ -{1\ln \left ({\frac{1}{x} \left ( adx+bcx+2\,\sqrt{ac}\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }+2\,ac \right ) } \right ) \sqrt{dx+c}\sqrt{bx+a}{\frac{1}{\sqrt{ac}}}{\frac{1}{\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(1/x/(b*x+a)^(1/2)/(d*x+c)^(1/2),x)

[Out]

-ln((a*d*x+b*c*x+2*(a*c)^(1/2)*((b*x+a)*(d*x+c))^(1/2)+2*a*c)/x)*(d*x+c)^(1/2)*(
b*x+a)^(1/2)/(a*c)^(1/2)/((b*x+a)*(d*x+c))^(1/2)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(sqrt(b*x + a)*sqrt(d*x + c)*x),x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [A]  time = 0.254059, size = 1, normalized size = 0.02 \[ \left [\frac{\log \left (-\frac{4 \,{\left (2 \, a^{2} c^{2} +{\left (a b c^{2} + a^{2} c d\right )} x\right )} \sqrt{b x + a} \sqrt{d x + c} -{\left (8 \, a^{2} c^{2} +{\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} x^{2} + 8 \,{\left (a b c^{2} + a^{2} c d\right )} x\right )} \sqrt{a c}}{x^{2}}\right )}{2 \, \sqrt{a c}}, -\frac{\arctan \left (\frac{{\left (2 \, a c +{\left (b c + a d\right )} x\right )} \sqrt{-a c}}{2 \, \sqrt{b x + a} \sqrt{d x + c} a c}\right )}{\sqrt{-a c}}\right ] \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(sqrt(b*x + a)*sqrt(d*x + c)*x),x, algorithm="fricas")

[Out]

[1/2*log(-(4*(2*a^2*c^2 + (a*b*c^2 + a^2*c*d)*x)*sqrt(b*x + a)*sqrt(d*x + c) - (
8*a^2*c^2 + (b^2*c^2 + 6*a*b*c*d + a^2*d^2)*x^2 + 8*(a*b*c^2 + a^2*c*d)*x)*sqrt(
a*c))/x^2)/sqrt(a*c), -arctan(1/2*(2*a*c + (b*c + a*d)*x)*sqrt(-a*c)/(sqrt(b*x +
 a)*sqrt(d*x + c)*a*c))/sqrt(-a*c)]

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{x \sqrt{a + b x} \sqrt{c + d x}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/x/(b*x+a)**(1/2)/(d*x+c)**(1/2),x)

[Out]

Integral(1/(x*sqrt(a + b*x)*sqrt(c + d*x)), x)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.229081, size = 115, normalized size = 2.74 \[ -\frac{2 \, \sqrt{b d} b \arctan \left (-\frac{b^{2} c + a b d -{\left (\sqrt{b d} \sqrt{b x + a} - \sqrt{b^{2} c +{\left (b x + a\right )} b d - a b d}\right )}^{2}}{2 \, \sqrt{-a b c d} b}\right )}{\sqrt{-a b c d}{\left | b \right |}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(sqrt(b*x + a)*sqrt(d*x + c)*x),x, algorithm="giac")

[Out]

-2*sqrt(b*d)*b*arctan(-1/2*(b^2*c + a*b*d - (sqrt(b*d)*sqrt(b*x + a) - sqrt(b^2*
c + (b*x + a)*b*d - a*b*d))^2)/(sqrt(-a*b*c*d)*b))/(sqrt(-a*b*c*d)*abs(b))